package vivace.view;

import javax.swing.*;

/**
 * A panel works as a container for a project. 
 */
public class ProjectPanel extends JSplitPane {

	private static final long serialVersionUID = -1845883473409974620L;

	/**
	 * Constructor
	 * @param model The model to use
	 */
    public ProjectPanel() {
    	
    	super(JSplitPane.HORIZONTAL_SPLIT);

    	// Create the track list and the perspective panel
    	// and add them to the layout
        TrackList tracks = new TrackList();
    	Perspective content = new Perspective();
        setLeftComponent(tracks);
        setRightComponent(content);
        setContinuousLayout(true);
        this.setDividerLocation(400);
        
    }

}


